﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Sharp.Web.Models
{
    public class UserLogModel
    {
        /// <summary>
        /// 用户日志
        /// </summary>
        public UserLogModel()
        {
        }
        /// <summary>
        /// 操作员Id
        /// </summary>
        [HiddenInput]
        public Guid UserId { get; set; }

        /// <summary>
        /// 操作员姓名
        /// </summary>
        [Display(Name = "操作员姓名")]
        public string FullName { get; set; }
        /// <summary>
        /// 操作内容的描述
        /// </summary>
        [Display(Name = "描述"), DataType(DataType.MultilineText)]
        public string Content { get; set; }
        /// <summary>
        /// 事件
        /// </summary>
        [Display(Name = "事件")]
        public string Event { get; set; }
        /// <summary>
        /// 事件时间
        /// </summary>
        [Display(Name = "事件时间")]
        public DateTime Eventtime { get; set; }

        /// <summary>
        /// 拦截到的方法
        /// </summary>
        [Display(Name = "执行方法")]
        public string Target { get; set; }

    }
}
